package com.zmn.oms.persistence.interfaces.third;

import com.zmn.oms.model.entity.third.SyncOrderStatus;

import java.util.List;

/**
 * 类描述：同步订单状态持久层
 *
 * @author wangxiaokun
 * @since 2020/7/29 15:51
 */
public interface SyncOrderStatusDao {

    /**
     * 查询需要同步状态的订单信息
     
     * @return java.util.List<com.zmn.oms.model.entity.third.SyncOrderStatus>
     * @author wangxiaokun
     */
    List<SyncOrderStatus> listSyncOrder();

    /**
     * 根据工单id修改同步状态
     * @param syncOrderStatus 
     * @return void
     * @author wangxiaokun
     */
    void updateSyncOrderStatusByWorkId(SyncOrderStatus syncOrderStatus);
}
